3.1058 \(\int x^m \left (a+b x^2\right )^p \, dx\)

Optimal. Leaf size=53 \[ \frac{x^{m+1} \left (a+b x^2\right )^{p+1} \, _2F_1\left (1,\frac{1}{2} (m+2 p+3);\frac{m+3}{2};-\frac{b x^2}{a}\right )}{a (m+1)} \]

[Out]

(x^(1 + m)*(a + b*x^2)^(1 + p)*Hypergeometric2F1[1, (3 + m + 2*p)/2, (3 + m)/2,
-((b*x^2)/a)])/(a*(1 + m))

_______________________________________________________________________________________

Rubi [A]  time = 0.0458078, antiderivative size = 61, normalized size of antiderivative = 1.15, number of steps used = 2, number of rules used = 2, integrand size = 13, \(\frac{\text{number of rules}}{\text{integrand size}}\) = 0.154 \[ \frac{x^{m+1} \left (a+b x^2\right )^p \left (\frac{b x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+1}{2},-p;\frac{m+3}{2};-\frac{b x^2}{a}\right )}{m+1} \]

Antiderivative was successfully verified.

[In]  Int[x^m*(a + b*x^2)^p,x]

[Out]

(x^(1 + m)*(a + b*x^2)^p*Hypergeometric2F1[(1 + m)/2, -p, (3 + m)/2, -((b*x^2)/a
)])/((1 + m)*(1 + (b*x^2)/a)^p)

_______________________________________________________________________________________

Rubi in Sympy [A]  time = 9.21851, size = 48, normalized size = 0.91 \[ \frac{x^{m + 1} \left (1 + \frac{b x^{2}}{a}\right )^{- p} \left (a + b x^{2}\right )^{p}{{}_{2}F_{1}\left (\begin{matrix} - p, \frac{m}{2} + \frac{1}{2} \\ \frac{m}{2} + \frac{3}{2} \end{matrix}\middle |{- \frac{b x^{2}}{a}} \right )}}{m + 1} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  rubi_integrate(x**m*(b*x**2+a)**p,x)

[Out]

x**(m + 1)*(1 + b*x**2/a)**(-p)*(a + b*x**2)**p*hyper((-p, m/2 + 1/2), (m/2 + 3/
2,), -b*x**2/a)/(m + 1)

_______________________________________________________________________________________

Mathematica [A]  time = 0.0487225, size = 63, normalized size = 1.19 \[ \frac{x^{m+1} \left (a+b x^2\right )^p \left (\frac{b x^2}{a}+1\right )^{-p} \, _2F_1\left (\frac{m+1}{2},-p;\frac{m+1}{2}+1;-\frac{b x^2}{a}\right )}{m+1} \]

Antiderivative was successfully verified.

[In]  Integrate[x^m*(a + b*x^2)^p,x]

[Out]

(x^(1 + m)*(a + b*x^2)^p*Hypergeometric2F1[(1 + m)/2, -p, 1 + (1 + m)/2, -((b*x^
2)/a)])/((1 + m)*(1 + (b*x^2)/a)^p)

_______________________________________________________________________________________

Maple [F]  time = 0.08, size = 0, normalized size = 0. \[ \int{x}^{m} \left ( b{x}^{2}+a \right ) ^{p}\, dx \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  int(x^m*(b*x^2+a)^p,x)

[Out]

int(x^m*(b*x^2+a)^p,x)

_______________________________________________________________________________________

Maxima [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{2} + a\right )}^{p} x^{m}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^2 + a)^p*x^m,x, algorithm="maxima")

[Out]

integrate((b*x^2 + a)^p*x^m, x)

_______________________________________________________________________________________

Fricas [F]  time = 0., size = 0, normalized size = 0. \[{\rm integral}\left ({\left (b x^{2} + a\right )}^{p} x^{m}, x\right ) \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^2 + a)^p*x^m,x, algorithm="fricas")

[Out]

integral((b*x^2 + a)^p*x^m, x)

_______________________________________________________________________________________

Sympy [A]  time = 111.17, size = 51, normalized size = 0.96 \[ \frac{a^{p} x x^{m} \Gamma \left (\frac{m}{2} + \frac{1}{2}\right ){{}_{2}F_{1}\left (\begin{matrix} - p, \frac{m}{2} + \frac{1}{2} \\ \frac{m}{2} + \frac{3}{2} \end{matrix}\middle |{\frac{b x^{2} e^{i \pi }}{a}} \right )}}{2 \Gamma \left (\frac{m}{2} + \frac{3}{2}\right )} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate(x**m*(b*x**2+a)**p,x)

[Out]

a**p*x*x**m*gamma(m/2 + 1/2)*hyper((-p, m/2 + 1/2), (m/2 + 3/2,), b*x**2*exp_pol
ar(I*pi)/a)/(2*gamma(m/2 + 3/2))

_______________________________________________________________________________________

GIAC/XCAS [F]  time = 0., size = 0, normalized size = 0. \[ \int{\left (b x^{2} + a\right )}^{p} x^{m}\,{d x} \]

Verification of antiderivative is not currently implemented for this CAS.

[In]  integrate((b*x^2 + a)^p*x^m,x, algorithm="giac")

[Out]

integrate((b*x^2 + a)^p*x^m, x)